<?xml version="1.0" ?>

<container xmlns="http://symfony.com/schema/dic/services"
    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
    xsi:schemaLocation="http://symfony.com/schema/dic/services http://symfony.com/schema/dic/services/services-1.0.xsd">

    <services>
        <service id="twig.extension.dump" class="Symfony\Bridge\Twig\Extension\DumpExtension" public="false">
            <tag name="twig.extension" />
            <argument type="service" id="var_dumper.cloner" />
        </service>

        <service id="data_collector.dump" class="Symfony\Component\HttpKernel\DataCollector\DumpDataCollector">
            <tag name="data_collector" id="dump" template="@Debug/Profiler/dump.html.twig" />
            <argument type="service" id="debug.stopwatch" on-invalid="ignore" />
            <argument>null</argument><!-- %templating.helper.code.file_link_format% -->
        </service>

        <service id="debug.dump_listener" class="Symfony\Component\HttpKernel\EventListener\DumpListener">
            <tag name="kernel.event_subscriber" />
            <argument type="service" id="var_dumper.cloner" />
            <argument type="service" id="data_collector.dump" />
        </service>

        <service id="var_dumper.cloner" class="Symfony\Component\VarDumper\Cloner\VarCloner" />
    </services>

</container>
